package com.monkeyboy.spring.service;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * @Author Gavin
 * @date 2021.05.06 13:12
 */
@Component
public class InitializingBeanTest implements InitializingBean {
	@Override
	public void afterPropertiesSet() throws Exception {
		System.out.println("在生命周期最后一步中调用了该接口的实现方法");
	}
}
